@import './element-variables.scss';
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
p {
  margin: 5px 0;
}
.gl_ellipsis{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gl_db_ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box; 
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; 
}
.gl_7_ellipsis { // 超过7个省略
  width:100px;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.gl_15_ellipsis {
  width:180px;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.gl_20_ellipsis {
  width:263px;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.gl_order_name {
  max-width: 600px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}

.gl_db_ellipsis>*:first-child {
  float: right;
  width: 100%;
  margin-left: -5px;
}
.gl_pointer {
  cursor: pointer;
}

.gl_middle {
  vertical-align: middle;
}
.gl_bottom {
  vertical-align: bottom;
}
.gl_top {
  vertical-align: top;
}

.gl_clear::after {
  display: block;
  content: "";
  clear: both;
}
.gl_fl {
  float: left;
}
.gl_fr {
  float: right;
}
.gl_fs_12 {
  font-size: 12px;;
}
.gl_fs_14 {
  font-size: 14px;;
}
.gl_dis_ib {
  display: inline-block;
}
.gl_fs_16 {
  font-size: 16px;;
}
.no_data {
  padding: 50px 0;
  color: #515a6e;
  text-align: center;
  font-size: 12px;
}
.gl_ft_weight {
  font-weight: bold;
}
.gl_color_primary {
  color:#1890ff;
}
.gl_color_lprimary {
  color: #5cadff
}
.gl_color_dprimary {
  color: #2b85e4
}
.gl_color_info {
  color: $--color-primary
}
.gl_color_success {
  color: $--color-success
}
.gl_color_warning {
  color: $--color-warning
}
.gl_color_error {
  color: $--color-danger
}
.gl_color_gay {
  color: $--color-info
}
/* 背景 */
.gl_bg_primary {
  background-color:#1890ff;
}
.gl_bg_lprimary {
  background-color: #5cadff
}
.gl_bg_dprimary {
  background-color: #2b85e4
}
.gl_bg_info {
  background-color: $--color-primary
}
.gl_bg_success {
  background-color: $--color-success
}
.gl_bg_warning {
  background-color: $--color-warning
}
.gl_bg_error {
  background-color: $--color-danger
}
.gl_bg_grey {
  background-color: #C0C4CC;
}
.gl_color_title {
  color: #17233d
}
.gl_color_content {
  color: #515a6e
}
.gl_color_grey, .gl_color_grey .gl_color_error .el-icon-error, .gl_color_grey .gl_color_error span {
  color: #C0C4CC
}
.gl_bj_f7f8fa {
  background: #f7f8fa;
}

// 搜索盒子的样式
.gl_searchBox{
  background: #f7f8fa;
  padding: 15px;
  p{
    min-height: 16px; /* 当P为空标签时，能与有内容的P保持相同高度 */
    font-size: 14px;
  }
  .search_btn {
    height: 54px;
    line-height: 80px;
  }
  span {
    font-size: 12px;
  }
  .el-input {
    width: 100%;
  }
  .el-select {
    width: 100%;
  }
}

.gl_paginationBox {
  text-align: center;
}

/* 错误消息提示 */
.gl_error_code{
  font-size: 18px;
  color: red;
}
.gl_error_msg{
  padding-top: 10px;
  padding-right: 10px;
}

/* 暂无数据 */
.gl_noData {
  position: relative;
  width: 100%;
  height: 276px;
  padding: 20px 0;
  &::after {
    content: "";
    position: absolute;
    top: 60px;
    left: 50%;
    width: 182px;
    height: 130px;
    background: url('../assets/images/noData/noData.png') no-repeat center;
    background-size: cover;
    margin-left: -91px;
  }
  p {
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 24px;
    line-height: 34px;
    color: #6a6a6a;
  }
}

.gl_noData_mockTable {
  // 暂无数据仿 table
  padding: 20px 0;
  font-size: 14px;
  text-align: center;
  color: #909399;
}
.gl_btn.el-button--mini{
  border-radius: 8px;
  height: 36px;
  padding-right: 29px;
  padding-left: 29px;
}
